function click(name)
{
	document.getElementById("home").onmouseout="this.src='images/home.png';";
	document.getElementById("aboutus").onmouseout="this.src='images/aboutus.png';";
	document.getElementById("competition").onmouseout="this.src='images/competition.png';";
	document.getElementById("showcase").onmouseout="this.src='images/showcase.png;'";
	document.getElementById("forum").onmouseout="this.src='images/forum.png';";
	document.getElementById("contactus").onmouseout="this.src='images/contactus.png';";
	//document.getElementById(name).onmouseout="this.src='images/"+name+"hover.png';";
/*	if((document.getElementById("current").innerText==null)||(document.getElementById("current").innerText==""))
	{
		document.getElementById("current").innerText=name;
		document.getElementById(name).onmouseout="this.src='images/"+name+"hover.png'";
	}
	else
	{
		document.getElementById(document.getElementById("current").innerText).onmouseout="this.src='images/"+document.getElementById("current").innerText+".png'";
		document.getElementById("current").innerText=name;
		document.getElementById(name).onmouseout="this.src='images/"+name+"hover.png'";
	}*/
};
// JavaScript Document